package org.dromara.school.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 学生家长信息对象 school_student_parent
 *
 * @author Gjb
 * @date 2025-06-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("school_student_parent")
public class StudentParent extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 学生id
     */
    private Long studentId;

    /**
     * 家长姓名
     */
    private String parentName;

    /**
     * 关系
     */
    private String relationShip;

    /**
     * 职业
     */
    private String position;

    /**
     * 联系电话
     */
    private String telphone;

    /**
     * 所属校区
     */
    private Long schoolCampusId;

    /**
     * 删除
     */
    private Long deleted;

    /**
     * 版本
     */
    @Version
    private Long version;

    /**
     * 备注
     */
    private String remark;


}
